package com.bluemoon.model.test.disrupter;

import com.lmax.disruptor.EventHandler;

/**
 * //定义事件消费者
 *
 * @author Jarod.Kong
 * @date 2021/3/18 9:35
 */
public class ModelTableEventHandler implements EventHandler<ModelTableEvent> {
    @Override
    public void onEvent(ModelTableEvent event, long l, boolean b) throws Exception {
        System.out.println("消费者:"+event.getEntryModel());
    }
}
